package org.teremail.message;

import java.io.IOException;
import java.io.InputStream;
import java.nio.charset.Charset;

public interface ContentStore {

    Content create(InputStream in) throws IOException;

    InputStream getInputStream(Content c);

    Content create(String text, Charset encoding) throws IOException;

}
